<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php if(Yii::app()->getController()->getId() == 'index') : ?>
<meta name="keywords" content="广州心理咨询,心理医生,婚姻情感,抑郁症,忧郁症,强迫症,催眠,广州心理咨询网,焦虑,性心理,恐惧症,亲子教育,企业EAP,社交,网络成瘾,社交恐怖,压力管理,危机干预,进食障碍,职业规划,心理测试" />
<meta name="description" content="广州市慧苑心理咨询有限公司成立于2004年8月16日,是一家提供心理咨询,心理医生,婚姻情感,催眠等专业服务的股份制企业。实力保证，签订协议，解决烦恼为目标，还一个自信，坚强，独立乐观的你！" />
<meta name="baidubot" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta name="google-site-verification" content="Zn9dtGt6-TbnyLw5nB2CCSgP3SnRQsPazVBceq8AxCc" />
<?php endif ?>
<meta name="robots" content="all" />
<title><?php echo $this->pageTitle; ?><?php if(Yii::app()->getController()->getId() != 'index') : ?><?php endif ?></title>
<?= CHtml::cssFile(Yii::app()->baseUrl.'/css/common.css'); ?>
<?= CHtml::cssFile(Yii::app()->baseUrl.'/css/jquery.fancybox.css'); ?>
<?php Yii::app()->clientScript->registerCoreScript('jquery', CClientScript::POS_HEAD); ?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/assets/jquery.fancybox-1.2.1.pack.js', CClientScript::POS_HEAD); ?>

</head>

<body>
<!-- Start of Head -->
<div class="head">
    <h1 class="logo">
    	<a href="<?php echo CHtml::normalizeUrl(array('/')) ?>"><?= CHtml::image(Yii::app()->baseUrl.'/images/logo.gif', '心理咨询', array('title' => '广州心理咨询网首页')); ?></a>
    </h1>
    <p class="login">
    <?php if( ! Users::isLogin()) : ?>
		您尚未登录，请<?php echo CHtml::link('登录', array('/users/signin', $this->getId() !== 'users' ? 'rf' : '' => $this->getId() !== 'users' ? urlencode(Yii::app()->request->pathInfo) : ''), array('class' => 'cRed'))?> | <?php echo CHtml::link('注册', array('/users/signup'))?>
    <?php else : ?>
    	您好，<?php echo Yii::app()->user->name; ?>，欢迎回来 [<a href="<?php echo CHtml::normalizeUrl(array('/users/viewprofile')) ?>" title="个人中心" class="cRed">个人中心</a> | <?php echo CHtml::link('退出登录', array('/users/signout', $this->getId() !== 'users' ? 'rf' : '' => $this->getId() !== 'users' ? urlencode(Yii::app()->request->pathInfo) : ''), array('class' => 'cRed')); ?>]
    <?php endif; ?> | <a href="<?php echo CHtml::normalizeUrl(array('/about')) ?>">帮助中心</a> | <img src="<?php echo Yii::app()->baseUrl.'/images/replay.gif' ?>" title="慧苑心理论坛" alt="慧苑心理论坛" /><a href="<?php echo BBS_BASE_URL ?>">进入论坛</a>
    </p>
    <div class="banner">
    	<!--<?= CHtml::image(Yii::app()->baseUrl.'/images/banner.gif'); ?>-->
      <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="990" height="160">
      <param name="movie" value="<?php echo Yii::app()->baseUrl ?>/flash/index.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="<?php echo Yii::app()->baseUrl ?>/flash/index.swf" width="990" height="160">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
        <div>
          <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer">获取 Adobe Flash Player</a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
</div>
    <ul class="nav">
    <?php $controller = Yii::app()->getController() ?>
  <li><?php echo CHtml::link('首页', array('/'), array('class' => $this->id == 'index' ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('咨询专题', array('/posts/category', 'id' => 32), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 32 ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('心理文丛', array('/posts/category', 'id' => 1), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 1 ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('在线问吧', array('/qas'), array('class' => $this->id == 'qas' ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('心理测试', array('/psytest'), array('class' => $this->id == 'psytest' ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('咨询案例', array('/posts/category', 'id' => 43), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 43 ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('本心疗法', array('/posts/category', 'id' => 64), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 64 ? 'active' : '')); ?></li>
        <li><?php echo CHtml::link('心理学堂', array('/posts/category', 'id' => 8), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 8 ? 'active' : '')); ?></li>
        <!--<li><?php echo CHtml::link('企业 EAP', array('/posts/category', 'id' => 11), array('class' => $this->id == 'posts' && $controller->currentCategoryId == 11 ? 'active' : '')); ?></li>
        --><li><?php echo CHtml::link('关于慧苑', array('/about'), array('class' => $this->id == 'about' || $this->id == 'psychologist' && $this->getAction()->getId() == 'list' ? 'active' : '')); ?></li>
<!--        <li><?php echo CHtml::link('慧苑心理论坛', BBS_BASE_URL, array('class' => $this->id == '' ? 'active' : '')); ?></li>-->
    </ul> 
</div>
<!-- End of Head -->

<!-- Start of Main Content -->
<?= $content; ?>
<!-- End of Main Content -->
<!-- Start of Foot --> 
<div class="cb"></div>
<div class="foot">
	<ul>
    	<li>
        	<a href="<?php echo BLOG_BASE_URL ?>" target="_blank">公司博客</a> | <a href="<?php echo CHtml::normalizeUrl(array('/qas')) ?>">在线问吧</a> | <a href="<?php echo CHtml::normalizeUrl(array('/psychologist/list')) ?>">咨询师介绍</a> | <a href="<?php echo CHtml::normalizeUrl(array('/about')) ?>">咨询须知</a> | <a href="<?php echo CHtml::normalizeUrl(array('/about')) ?>">关于我们</a> | <a href="http://www.huiyn.com/bbs" target="_blank">交流论坛</a> | <a href="<?php echo Yii::app()->baseUrl.'/sitemap.htm' ?>" target="_blank">站点地图</a> 
        </li>
    </ul>
    <p class="aGre mt10">电话：<span class="cGre fb">020-62728787 83644639</span>　广州市慧苑心理咨询有限公司版权所有 ©2004-2010<br />
    &nbsp;&nbsp;手机：13711628805 联系地址：广州市越秀区白云路113号白云大厦906室 邮编：510100<br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;咨询邮箱:<a href="mailto:help@huiyn.com">help@huiyn.com</a> <a href="mailto:zhanggonghe@163.com">zhanggonghe@163.com</a> 粤ICP备05128980号 <script src="http://s9.cnzz.com/stat.php?id=2162898&web_id=2162898" language="JavaScript"></script>
    </p>
	<h2>广州心理咨询网-致力打造广州最大的心理咨询信息平台</h2>
</div> 
<!-- End of Foot -->
</body>
</html>
